package com.sansan.qiangji.mapper.system;

import com.sansan.qiangji.entity.system.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    List<User> userList(User user);

    int addUser(User user);

    User findByUserId(@Param("userId") Integer userId);

    User findByUserName(@Param("userName") String userName);

    int deleteById(@Param("userId") Integer userId);

    int updateUser(User user);
}
